<template>
    <el-card class="box-card" style="height: 100%;">
      <div class="card-body">
          <el-row>
            <el-col :span="4" style="padding-bottom: 20px;">
              <el-button type="primary" @click="addEvent"><i class="el-icon-plus"></i> 新增商品</el-button>
            </el-col>
          </el-row>
          <ListTable></ListTable>
      </div>
    </el-card>
</template>

<script>
  import ListTable from "./components/ListTable"
  export default{
    name: 'GoodsIndex',
    components:{
      ListTable
    },
    data(){
      return{
      }
    },
    methods:{
      addEvent(){
        this.$bus.$emit("addGoodsBtnClick")
      },

    }
  }
</script>

<style scoped="scoped" lang="scss">
  ::v-deep .el-breadcrumb__inner{
    line-height: 1.3;
  }
  ::v-deep .el-card__body{
    height: 100%;
  }
</style>
